package com.dahua.messagesyncsh.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class SyncMessage implements Serializable {
    private String uuid;

    private Timestamp timestamp;

    /*  1：故障表同步*/
    private Integer type;

    /*  type = 1 && 1：insert，2：recover*/
    private Integer operation;

    private Object data;
}
